package com.lay.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆信息表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Cars implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆编号（车牌号），主键，唯一
     */
    @TableId(value = "c_id", type = IdType.ID_WORKER)
    private String cId;

    /**
     * 用户编号，外键
     */
    private Integer uId;

    /**
     * 车辆颜色
     */
    private String cColor;

    /**
     * 购买日期
     */
    private Date cBuydate;

    /**
     * 发动机型号
     */
    private String cEnginenum;

    /**
     * 车辆类型（私家车）
     */
    private String cType;

    /**
     * 车辆品牌
     */
    private String cBrand;

    /**
     * 品牌型号
     */
    private String cBrandtype;

    /**
     * 车辆照片
     */
    private String cPic;

    /**
     * 是否自动挡（0是，1不是）
     */
    private Integer cIsauto;

    /**
     * 排量大小
     */
    private String cEnginesize;

    /**
     * 座位数量
     */
    private Integer seatnum;

    /**
     * 车辆估价
     */
    private BigDecimal cPrice;

    /**
     * 评估人员（价格估测）
     */
    private String cEvaluater;

    /**
     * 车辆状态（0待审核，1合格，2不合格）
     */
    private Integer cState;

    /**
     * 添加人员编号
     */
    private Integer unId;

    /**
     * 添加时间
     */
    private Date cAddtime;

    /**
     * 审核人员编号
     */
    private Integer unShenid;

    /**
     * 出险次数
     */
    private Integer chuxianNum;


    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getcColor() {
        return cColor;
    }

    public void setcColor(String cColor) {
        this.cColor = cColor;
    }

    public Date getcBuydate() {
        return cBuydate;
    }

    public void setcBuydate(Date cBuydate) {
        this.cBuydate = cBuydate;
    }

    public String getcEnginenum() {
        return cEnginenum;
    }

    public void setcEnginenum(String cEnginenum) {
        this.cEnginenum = cEnginenum;
    }

    public String getcType() {
        return cType;
    }

    public void setcType(String cType) {
        this.cType = cType;
    }

    public String getcBrand() {
        return cBrand;
    }

    public void setcBrand(String cBrand) {
        this.cBrand = cBrand;
    }

    public String getcBrandtype() {
        return cBrandtype;
    }

    public void setcBrandtype(String cBrandtype) {
        this.cBrandtype = cBrandtype;
    }

    public String getcPic() {
        return cPic;
    }

    public void setcPic(String cPic) {
        this.cPic = cPic;
    }

    public Integer getcIsauto() {
        return cIsauto;
    }

    public void setcIsauto(Integer cIsauto) {
        this.cIsauto = cIsauto;
    }

    public String getcEnginesize() {
        return cEnginesize;
    }

    public void setcEnginesize(String cEnginesize) {
        this.cEnginesize = cEnginesize;
    }

    public Integer getSeatnum() {
        return seatnum;
    }

    public void setSeatnum(Integer seatnum) {
        this.seatnum = seatnum;
    }

    public BigDecimal getcPrice() {
        return cPrice;
    }

    public void setcPrice(BigDecimal cPrice) {
        this.cPrice = cPrice;
    }

    public String getcEvaluater() {
        return cEvaluater;
    }

    public void setcEvaluater(String cEvaluater) {
        this.cEvaluater = cEvaluater;
    }

    public Integer getcState() {
        return cState;
    }

    public void setcState(Integer cState) {
        this.cState = cState;
    }

    public Integer getUnId() {
        return unId;
    }

    public void setUnId(Integer unId) {
        this.unId = unId;
    }

    public Date getcAddtime() {
        return cAddtime;
    }

    public void setcAddtime(Date cAddtime) {
        this.cAddtime = cAddtime;
    }

    public Integer getUnShenid() {
        return unShenid;
    }

    public void setUnShenid(Integer unShenid) {
        this.unShenid = unShenid;
    }

    public Integer getChuxianNum() {
        return chuxianNum;
    }

    public void setChuxianNum(Integer chuxianNum) {
        this.chuxianNum = chuxianNum;
    }

    @Override
    public String toString() {
        return "Cars{" +
        "cId=" + cId +
        ", uId=" + uId +
        ", cColor=" + cColor +
        ", cBuydate=" + cBuydate +
        ", cEnginenum=" + cEnginenum +
        ", cType=" + cType +
        ", cBrand=" + cBrand +
        ", cBrandtype=" + cBrandtype +
        ", cPic=" + cPic +
        ", cIsauto=" + cIsauto +
        ", cEnginesize=" + cEnginesize +
        ", seatnum=" + seatnum +
        ", cPrice=" + cPrice +
        ", cEvaluater=" + cEvaluater +
        ", cState=" + cState +
        ", unId=" + unId +
        ", cAddtime=" + cAddtime +
        ", unShenid=" + unShenid +
        ", chuxianNum=" + chuxianNum +
        "}";
    }
}
